﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YouHP.Model.Group
{
    public class ReplyInfo : IHydratable
    {
        public const int MaxContentLength = 300;

        public int Id { get; set; }
        public string Body { get; set; }
        public int TopicId { get; set; }
        public int FloorNo { get; set; }            // 楼数
        public int ReplyFloorNo { get; set; }       // 回复的楼数 0 表示回复主题
        public DateTime PostTime { get; set; }      // 发表日期
        public DateTime UpdateTime { get; set; }    // 修改日期
        public int PostUserId { get; set; }         // 回复人id
        public string PostUserName { get; set; }    // 回复人用户名
        public string ReplyAvatar { get; set; }     // 回复人头像
        public string Ip { get; set; }              // 回复人ip
        public string ReplyFile { get; set; }       //回复文件存储路径
        public string ReplyFileName {get; set;}

        public int IsDel { get; set; }//是否被删除
        public int GroupId { get; set; }            // 组Id

        public string ReplyGender { get; set; }
        public int ReplyAge { get; set; }



        public ReplyInfo()
        {
            Id = TopicId = FloorNo = ReplyFloorNo = GroupId  = - 1;
            Body = PostUserName = ReplyAvatar = Ip = "" ;
            IsDel = 0;
        }

        #region IHydratable 成员

        public bool Fill(System.Data.IDataReader dr)
        {
            return false;
        }

        #endregion
    }
}
